<?php

return [
    0 => [
        'name' => 'wechat',
        'title' => '微信',
        'type' => 'array',
        'content' => [
        ],
        'value' => [
            'appid' => '',
            'app_id' => '',
            'app_secret' => '',
            'miniapp_id' => 'wx810746c9b4f9cb14',
            'mch_id' => '',
            'key' => '',
            'mode' => 'normal',
            'sub_mch_id' => '',
            'sub_appid' => '',
            'sub_app_id' => '',
            'sub_miniapp_id' => '',
            'notify_url' => '/addons/epay/api/notifyx/type/wechat',
            'cert_client' => '/addons/epay/certs/apiclient_cert.pem',
            'cert_key' => '/addons/epay/certs/apiclient_key.pem',
            'log' => '1',
        ],
        'rule' => '',
        'msg' => '',
        'tip' => '微信参数配置',
        'ok' => '',
        'extend' => '',
    ],
    1 => [
        'name' => 'alipay',
        'title' => '支付宝',
        'type' => 'array',
        'content' => [
        ],
        'value' => [
            'app_id' => '',
            'mode' => 'normal',
            'notify_url' => '/addons/epay/api/notifyx/type/alipay',
            'return_url' => '/addons/epay/api/returnx/type/alipay',
            'private_key' => '',
            'ali_public_key' => '/addons/epay/certs/alipayCertPublicKey.crt',
            'app_cert_public_key' => '/addons/epay/certs/appCertPublicKey.crt',
            'alipay_root_cert' => '/addons/epay/certs/alipayRootCert.crt',
            'log' => '1',
            'scanpay' => '0',
        ],
        'rule' => 'required',
        'msg' => '',
        'tip' => '支付宝参数配置',
        'ok' => '',
        'extend' => '',
    ],
    2 => [
        'name' => '__tips__',
        'title' => '温馨提示',
        'type' => 'array',
        'content' => [
        ],
        'value' => '请注意微信支付证书路径位于/addons/epay/certs目录下，请替换成你自己的证书<br>appid：APP的appid<br>app_id：公众号的appid<br>app_secret：公众号的secret<br>miniapp_id：小程序ID<br>mch_id：微信商户ID<br>key：微信商户支付的密钥',
        'rule' => '',
        'msg' => '',
        'tip' => '微信参数配置',
        'ok' => '',
        'extend' => '',
    ],
];
